package com.prs.crm.domain.sale;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.stock.Product;
@Entity
@Table(name="sale_salesStoreOutDetail")
public class SalesStoreOutDetail extends BaseEntity {
	
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	@ManyToOne
	private Product product;
	
	@ManyToOne
	private SalesStoreOut salesStoreOut;
	
	private String productCode;
	
	private String productName;
	
	/**
	 * 库存量
	 */
	private Integer storeNum;
	
	/**
	 * 发货量
	 */
    private Integer shippingNum;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getStoreNum() {
		return storeNum;
	}

	public void setStoreNum(Integer storeNum) {
		this.storeNum = storeNum;
	}

	public Integer getShippingNum() {
		return shippingNum;
	}

	public void setShippingNum(Integer shippingNum) {
		this.shippingNum = shippingNum;
	}

	public SalesStoreOut getSalesStoreOut() {
		return salesStoreOut;
	}

	public void setSalesStoreOut(SalesStoreOut salesStoreOut) {
		this.salesStoreOut = salesStoreOut;
	}
    
    
  
}
